// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router'
import Chart from 'chart.js';
import $ from 'jquery'

import animated from 'animate.css' // npm install animate.css --save安装，在引入
Vue.use(animated)


//定义全局变量导出数据表格(包含图片)
import table2excel from 'js-table2excel'
Vue.prototype.table2excel = table2excel //全局注册，调用方式：this.table2excel

//导入vuex
import store from "./store/store.js"

//阿里图标
import "./assets/iconali/iconfont.css"


Vue.config.productionTip = false
Vue.use(ElementUI);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
